import request from '@/utils/request';

// 推广卡费列表
export const promotionList = params => request({
    url: '/business/promotion/list',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 推广卡费新增
export const promotionAdd = params => request({
    url: '/business/promotion/add',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 推广卡费更新
export const promotionUpdate = params => request({
    url: '/business/promotion/update',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 推广卡费状态更新
export const promotionStatus = params => request({
    url: '/business/promotion/status/update',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 推广卡费删除
export const processingDel = params => request({
    url: '/business/promotion/del',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 推广卡费删除
export const promotionDel = params => request({
    url: '/business/promotion/get',
    method: 'GET',
    params
});
